class Person(object):
    # 构造函数
    def __init__(self, name, age, height, weight):
        # 对象属性，对象方法只能对象调用

        self.name = name
        self.age = age
        self.height = height
        self.weight = weight

    # 析构方法：在释放对象时自动调用
    # 调用：释放一些不必要的内存
    def __del__(self):
        print("object delete")

    def say(self):
        return "my name is %s,I am %d years old"%(self.name, self.age)


per1 = Person("lifeibiao", 10, 20, 60)
del per1